<!--登录进来的主页-->

<template>
  <div>
    <layout-top></layout-top>

    <!-- <transition name="fade-transform" mode="out-in">  跳转页面切换动画-->
      <keep-alive>
         <router-view v-if="$route.meta.keepAlive"></router-view>  <!--  页面是否缓存  keepAlive控制 -->
      </keep-alive>
      <router-view v-if="!$route.meta.keepAlive"></router-view>
    <!-- </transition> -->
    <Xiaobai></Xiaobai>
  </div>
</template>

<script>
import LayoutTop from "../components/LayoutTop.vue";
import Xiaobai from '../components/Xiaobai.vue'
export default {
  components: { LayoutTop , Xiaobai },
};
</script>
